//
// Created by moon on 2024/5/6.
//

#ifndef _MU_IMG_H
#define _MU_IMG_H

#include "stdint.h"

typedef struct{
    uint32_t w : 16;
    uint32_t h : 16;
}mu_img_header_t;

typedef struct {
    mu_img_header_t header;   /**< A header describing the basics of the image*/
    uint32_t data_size;         /**< Size of the image in bytes*/
    const uint8_t * data;       /**< Pointer to the data of the image*/
    const void * reserved;      /**< A reserved field to make it has same size as lv_draw_buf_t*/
} lv_image_dsc_t;

#endif /*_MU_IMG_H*/
